package com.yicoollxing.service;

import java.util.List;

import org.springframework.web.bind.annotation.RequestParam;

import com.yicoollxing.common.ServerResponse;
import com.yicoollxing.pojo.Category;

public interface ICategoryService {
	public ServerResponse  addCategory(String categoryName,Integer parentId,Integer mid);
	public ServerResponse  delCategory(Integer categoryId);
	public ServerResponse modifyCategory(Category category);
	public ServerResponse<List<Category>> getCategoryListByCategoryId(Integer categoryId);
	public ServerResponse<List<Category>> getDeepCategoryListByCategoryId(Integer categoryId);
	public ServerResponse list(Integer mid,Integer pageNum,Integer pageSize);
}
